/**
 * \file can_tx.h
 * \brief CAN bus driver (TX)
 * \author Radim Badsi <radim.badsi@polytech.univ-montp2.fr>
 * \date 10/07/2009
 */

#ifndef CAN_TX_H
#define CAN_TX_H

#include "can_common.h"

/**
  * CAN outgoing queue size (number of messages)
  */
#define CAN_OUTGOING_QUEUE_SIZE 5

/**
  * Return a pointer to the CAN outgoing queue
  * @return pointer to the CAN outgoing queue
  */
OS_EVENT* get_comm_outgoing_queue(void);

/**
  * CAN TX Task
  */
void can_tx(void* pdata);

#endif